KERNELDIR=/mnt/e/code/stm32mp157/src/01_linux_src/linux
CURRENT_PATH := $(shell pwd)

obj-m := ds18b20.o

build: kernel_modules

kernel_modules:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules

clean:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean
